import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
import jquery from "utils/request/jquery-3.6.0.min.js"
import store from './utils/store/index.js'
Vue.use(uView);

Vue.config.productionTip = false

App.mpType = 'app'

// 取消弹窗小bug
// window.addEventListener('beforeunload', function (event) {
//   event.stopImmediatePropagation();
// });

const app = new Vue({
    ...App,store
})

// 获取导航栏高度
// let screenInfo={}
// uni.getSystemInfo({
//     success:(res)=>{
//         screenInfo.res=res    
//     }
// });

// const capsule=uni.getMenuButtonBoundingClientRect()
// screenInfo.capsule=capsule 
// uni.setStorageSync('screenInfo',screenInfo );


// import httpInterceptor from '@/common/http.interceptor.js'
// Vue.use(httpInterceptor, app)



app.$mount()
